package com.java.zhuiyun.api.playerLoginLogs.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName PlayerLoginLogs
 * @Description TODO 登录数据统计表
 * @Author WX
 * @Date 2023/9/19 8:46
 **/
@Data
public class PlayerLoginLogs {
    private static final long serialVersionUID = 1L;
    /**
     * 玩家登录日志主键id王旭
     */
    private int id;
    /**
     * 玩家数量
     */
    private int playerNumber;
    /**
     * 登录时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern ="yyyy-MM-dd" )
    private Date loginTime;
}
